package cn.pkpm.air.job.feign.client;

import cn.pkpm.air.job.feign.web.vo.ReturnT;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author bbshi
 * @date 2023/1/4 11:48
 */
@FeignClient(contextId = "jobInfoClient",value = "pkpm-job")
public interface JobInfoClient {

    @PostMapping("/xxl-job-admin/pkpm/jobinfo/trigger")
    ReturnT<String> triggerJob(int id, String executorParam, String addressList);
}
